﻿--[[
   @brief    Offline mode
   @author   jameszhai
   @version  1.0
   @date     2017-04-15
--]]

offline_mode_desc = 
{
    module_name = "offline_mode",
    events = 
    {
        {
            c_event = 
            {
                {
                    --id  = ierd_tgp.login_mgr.LOGIN_ON_SHOW_LOGIN,
                    --callback = "TOfflineCtrl.ShowOffline"
                },
            },
            reg_service = {
                {
                    id = 'Svr_ShowOfflineMainWnd',
                    callback = "TOfflineCtrl.ShowOffline"
                },
            },

            lua_file = "offline\\control.lua"
        }
    }
};

ierd_tgp.tpf_ui.Require("Offline\\control.lua");
desc_mgr.add(offline_mode_desc);